Skip to content

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Dec 15, 2017

Fixes #45466

@arielb1
Copy link
Contributor Author

arielb1 commented Dec 15, 2017

@bors try

@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@bors
Copy link
Collaborator

bors commented Dec 15, 2017

⌛ Trying commit c3763ed with merge 1e8a44a...

bors added a commit that referenced this pull request Dec 15, 2017
[needs perf run] Simplify CFG after IndVarSimplify

Fixes #45466
@arielb1
Copy link
Contributor Author

arielb1 commented Dec 15, 2017

Let's check the perf impact of this

@bors
Copy link
Collaborator

bors commented Dec 15, 2017

☀️ Test successful - status-travis
State: approved= try=True

@arielb1
Copy link
Contributor Author

arielb1 commented Dec 15, 2017

@Mark-Simulacrum

Could you do a perf run on this?

@Mark-Simulacrum
Copy link
Member

Not quite right now as I don't have a connection to the perf machine, I'm waiting on @alexcrichton for it... hopefully next week after all hands, though.

@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 16, 2017
@alexcrichton
Copy link
Member

Yes unfortunately the perf machine is offline right now, we'll have access to it again this coming Monday at the latest.

@kennytm
Copy link
Member

kennytm commented Dec 20, 2017

@Mark-Simulacrum @alexcrichton Is the perf machine ready now?

@alexcrichton
Copy link
Member

Ah yes, it is indeed back online.

@Mark-Simulacrum
Copy link
Member

Perf run queued.

@kennytm
Copy link
Member

kennytm commented Dec 22, 2017

@arielb1
Copy link
Contributor Author

arielb1 commented Dec 22, 2017

@kennytm

I do see a clear 1-2% regression in compile-time for opt builds

@arielb1
Copy link
Contributor Author

arielb1 commented Dec 23, 2017

Now with a more aggressive try.

I think this needs a merge of my PR on rust-lang/llvm, and then I can try?

@arielb1
Copy link
Contributor Author

arielb1 commented Dec 25, 2017

@Mark-Simulacrum

Can I have a new perf run on this more aggressive pass ordering?

@arielb1
Copy link
Contributor Author

arielb1 commented Dec 25, 2017

This also seems to fix #46542. Looks like the earlier IndVarSimplify is really helping with ranges.

@arielb1 arielb1 changed the title [needs perf run] Simplify CFG after IndVarSimplify [needs perf run] Try to improve LLVM pass ordering Dec 25, 2017
@arielb1
Copy link
Contributor Author

arielb1 commented Dec 25, 2017

@bors try

@bors
Copy link
Collaborator

bors commented Dec 25, 2017

⌛ Trying commit 6163df4 with merge 8a453b2...

bors added a commit that referenced this pull request Dec 25, 2017
[needs perf run] Try to improve LLVM pass ordering

Fixes #45466
@bors
Copy link
Collaborator

bors commented Dec 25, 2017

☀️ Test successful - status-travis
State: approved= try=True

@Mark-Simulacrum
Copy link
Member

Perf queued.

@kennytm
Copy link
Member

kennytm commented Dec 27, 2017

@nikomatsakis nikomatsakis added I-nominated T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 3, 2018
@nikomatsakis
Copy link
Contributor

nikomatsakis commented Jan 3, 2018

Nominating for discussion in the @rust-lang/compiler meeting. This causes a small regression in compile time, but enables us to optimize #45466 again. Should we land? I think yes.

@nikomatsakis
Copy link
Contributor

@bors r+

After discussion in the compiler meeting we decided to go forward with this PR. However, there is a sense that we need to develop a more comprehensive runtime perf suite so that we can have a better idea of the overall impact of changes like this.

@bors
Copy link
Collaborator

bors commented Jan 4, 2018

📌 Commit 6163df4 has been approved by nikomatsakis

@bors
Copy link
Collaborator

bors commented Jan 4, 2018

⌛ Testing commit 6163df4 with merge 4fd62f2...

bors added a commit that referenced this pull request Jan 4, 2018
[needs perf run] Try to improve LLVM pass ordering

Fixes #45466
@bors
Copy link
Collaborator

bors commented Jan 4, 2018

💔 Test failed - status-appveyor

@kennytm
Copy link
Member

kennytm commented Jan 4, 2018

@bors retry #46903 3 hour timeout

It is happening very frequently recently 😞

@bors
Copy link
Collaborator

bors commented Jan 5, 2018

⌛ Testing commit 6163df4 with merge 5e66887...

bors added a commit that referenced this pull request Jan 5, 2018
[needs perf run] Try to improve LLVM pass ordering

Fixes #45466
@bors
Copy link
Collaborator

bors commented Jan 5, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: nikomatsakis
Pushing 5e66887 to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants